<html>
<head>
<title>组织架构</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link href="../../build/common/gridList.css" rel="stylesheet">
	<script type="text/javascript" src="../../build/common/gridList.js"></script>
	<script type="text/javascript">
		$(function(){
			var groupId = $.getParam("id");
			$("#listFrame").attr("src","groupGet.html?id="+groupId);
			$("#listFrame2").attr("src","groupUserList.html?groupId="+groupId);
			$("#listFrame3").attr("src","groupRelationList.html?groupId="+groupId);
			
			// 可以在点击的时候再加载
			/* $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
				var iframe = $("iframe", e.target);
				  if(iframe.attr("url"))
				  
				}) */
		})
	
	</script>
</head>
<body>
	<ul class="nav nav-tabs" role="tablist">
	    <li role="presentation"><a href="#group" role="tab" data-toggle="tab">组织简介</a></li>
	    <li role="presentation" class="active"><a href="#groupUser"  data-toggle="tab">组织人员</a></li>
	    <li role="presentation"><a href="#groupPost" data-toggle="tab">组织岗位</a></li>
	 </ul> 
	 <div  class="tab-content">
	 	<div id="group" class="tab-pane ">
	 		<iframe id="listFrame" src="" frameborder="no" width="100%" height="100%"></iframe>
	 	</div>
	 	<div id="groupUser" class="tab-pane active">
	 		<iframe id="listFrame2" src="" frameborder="no" width="100%" height="100%"></iframe>
	 	</div>
	 	<div id="groupPost" class="tab-pane">
	 		<iframe id="listFrame3" src="" frameborder="no" width="100%" height="100%"></iframe>
	 	</div>
	 </div>
</body>
</html>